import type { Router } from 'vue-router';


export function createNotFoundGuard(router: Router) {
  router.beforeEach((to) => {
    if (to.matched.length === 0) {
      router.push('/admin/notFound');
      return true;
    }
  });
}

export function createAuthGuard(router: Router){
  
}
